using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
namespace Model
{
    public class Obj_B_RYXX
    {
 private bool _HasData;
private string _BS;
private string _DM;
private string _FWTS;
private string _FY;
private string _MC;
private string _QX;
private string _XCBM;
private string _XSSX;
private string _YX;
private string _DEPSORTEMPLOYEEID;
private string _ZW;

public static string TableName="B_RYXX";
 public string BS { get { return this._BS; } set { this._BS = value;} }
 public string DM { get { return this._DM; } set { this._DM = value;} }
 public string FWTS { get { return this._FWTS; } set { this._FWTS = value;} }
 public string FY { get { return this._FY; } set { this._FY = value;} }
 public string MC { get { return this._MC; } set { this._MC = value;} }
 public string QX { get { return this._QX; } set { this._QX = value;} }
 public string XCBM { get { return this._XCBM; } set { this._XCBM = value;} }
 public string XSSX { get { return this._XSSX; } set { this._XSSX = value;} }
 public string YX { get { return this._YX; } set { this._YX = value;} }
 public string DEPSORTEMPLOYEEID { get { return this._DEPSORTEMPLOYEEID; } set { this._DEPSORTEMPLOYEEID = value;} }
 public string ZW { get { return this._ZW; } set { this._ZW = value;} }

 public bool HasData { get { return this._HasData; } }
  public Obj_B_RYXX()
{
 }
  public  Obj_B_RYXX(string cBS,string cDM,string cFWTS,string cFY,string cMC,string cQX,string cXCBM,string cXSSX,string cYX,string cDEPSORTEMPLOYEEID,string cZW)
{
 _HasData=true;
  try
{
this._BS=cBS;
this._DM=cDM;
this._FWTS=cFWTS;
this._FY=cFY;
this._MC=cMC;
this._QX=cQX;
this._XCBM=cXCBM;
this._XSSX=cXSSX;
this._YX=cYX;
this._DEPSORTEMPLOYEEID=cDEPSORTEMPLOYEEID;
this._ZW=cZW;

  }catch(Exception ex){_HasData=false;}
 }
 public Obj_B_RYXX(DataRow row)
{
 _HasData=true;
  try
{
this._BS = row["BS"].ToString();
this._DM = row["DM"].ToString();
this._FWTS = row["FWTS"].ToString();
this._FY = row["FY"].ToString();
this._MC = row["MC"].ToString();
this._QX = row["QX"].ToString();
this._XCBM = row["XCBM"].ToString();
this._XSSX = row["XSSX"].ToString();
this._YX = row["YX"].ToString();
this._DEPSORTEMPLOYEEID = row["DEPSORTEMPLOYEEID"].ToString();
this._ZW = row["ZW"].ToString();

  }catch(Exception ex){_HasData=false;}
 }
    }
}
